package bridge.Entity;

import bridge.Bird;
import bridge.behavior.FlyBehavior;
import bridge.behavior.SwimBehavior;



public class Penguin extends Bird {

    public Penguin(FlyBehavior behavior, SwimBehavior swimBehavior) {
        super(behavior, swimBehavior);
    }

    @Override
    public void display() {
        System.out.println("-------企鹅--------");
        super.display();
    }
}
